<div class="about">
    <div class="m-title">关于</div>
    <div class="libox admin">
        <div class="about-img">
            <img src="/photo/<%=admin.photo%>" alt="">
        </div>
        <div class="admin-info">
            <span>博主：<i><%=admin.userName%></i></span>
            <span>年龄：<i><%=admin.age%></i> 岁</span>
            <span>个性签名：<i><%=admin.signature%></i> </span>
            <span>已发表 <i><%=count%></i> 篇博客</span>
        </div>
    </div>
</div>
<div class="m-blog">
    <div class="m-title">最新博客</div>
    <div class="libox">
        <ul>
             <%lart.forEach(item=>{%>
                 <li class="arli" data-href="/articel/Info/<%=item._id%>">
                     <span class="itemtitle"><%=item.title%></span>
                     <span class="itemdate"><%=item.date.toLocaleDateString()%></span>
                 </li>
             <%})%>
        </ul>
    </div>
</div>
<div class="m-log">
     <div class="m-title">
         最新日志
         <a href="/log/personalspace">查看所有>></a>
     </div>
     <div class="libox">
         <ul>
             <%logcont.forEach(item=>{%>
                 <li>
                     <span class="itemtitle"><%- item.content%></span>
                     
                     <span class="itemdate"><%=item.date.toLocaleDateString()%></span>
                 </li>
             <%})%>
         </ul>
     </div>
</div>
<div class="m-category">
     <div class="m-title">标签云</div>
     <div class="libox">
       <div>
            <%catearray.forEach(item => {%>
                <span class="cate-span"><%=item.name%></span>
            <%})%>
       </div>
     </div>
</div>
<div class="l-search">
    <input type="text" id="search" placeholder="请输入关键字">
    <button id="search-btn">搜索</button>
</div>

<div id="test2"></div>
